package foo;

import com.jsftoolkit.base.PassThroughTag;
import com.jsftoolkit.base.TagBase;
import javax.el.ValueExpression;
import javax.faces.component.UIComponent;

/**
 * **GENERATED SOURCE**
 * You may subclass this class, but should probably not edit it.
 * See http://www.jsftoolkit.com for more information.
 */
public class BarTag extends PassThroughTag {

    private ValueExpression _foo;

    private ValueExpression _partialTriggers;

    private ValueExpression _tag;

    protected void setProperties(final UIComponent component) {
        super.setProperties(component);
        setProperty(component, Bar.FOO, _foo);
        setProperty(component, "partialTriggers", _partialTriggers);
        setProperty(component, "tag", _tag);
    }

    public ValueExpression getFoo() {
        return _foo;
    }

    public void setFoo(final ValueExpression _foo) {
        this._foo = _foo;
    }

    public ValueExpression getPartialTriggers() {
        return _partialTriggers;
    }

    public void setPartialTriggers(final ValueExpression _partialTriggers) {
        this._partialTriggers = _partialTriggers;
    }

    public ValueExpression getTag() {
        return _tag;
    }

    public void setTag(final ValueExpression _tag) {
        this._tag = _tag;
    }

    public String getComponentType() {
        return Bar.COMPONENT_TYPE;
    }

    public String getRendererType() {
        return Bar.DEFAULT_RENDERER_TYPE;
    }

    protected void setProperty(final UIComponent component, final String attributeName, final ValueExpression valueExpression) {
        TagBase.setProperty(component, attributeName, valueExpression);
    }

}
